package com.syygl.chaseDemo.service;

import com.syygl.chaseDemo.entity.Object4AllLifeCycle;
import com.syygl.chaseDemo.entity.UserEntity;
import org.springframework.stereotype.Service;

@Service
public class ServiceTest1 {

    public void prepareUser(Object4AllLifeCycle object4AllLifeCycle){
        UserEntity userEntity =new UserEntity();
        userEntity.setAge("12");
        userEntity.setName("syy");
        userEntity.setPhone("123");
        object4AllLifeCycle.setUserEntity(userEntity);
    }

}
